package es.cazadoresmadridejos.beans.controller.editor;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class EditorController {

	
	@RequestMapping(value="editor.html")
	public ModelAndView editor(
			@RequestParam(value="field") String field
			){
		
		
		ModelAndView mv = new ModelAndView();
		mv.addObject("field", field);
		return mv;
	}
}
